package com.luoqiz.demo.model;

public class Person {

	public Person() {
		System.out.println("空构造");
	}

	public Person(String name) {
		this.name = name;
		System.out.println("name构造函数执行");
	}
	
	private String name;
	private int age;
	private int weight;
	private int height;
	public String uid;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		//System.out.println("setAge方法执行");
		this.age = age;
	}

	public int getWeight() {
		return weight;
	}

	public void setWeight(int weight) {
		this.weight = weight;
	}

	public int getHeight() {
		return height;
	}

	public void setHeight(int height) {
		this.height = height;
	}

	@Override
	public String toString() {
		return "Person [name=" + name + ", age=" + age + ", weight=" + weight + ", height=" + height + "]";
	}

	@SuppressWarnings("unused")
	private void testPrivate() {
		System.out.println("Person类的私有函数测试执行");
	}
}
